package parkshop.pmcourse.dto;

import java.util.Date;

import parkshop.pmcourse.domain.Orders;

public class PaymentBean {
	private int money;
	private Date time;
	private String productName;
	
	
	
	public PaymentBean(int money, Date time, String productName) {
		super();
		this.money = money;
		this.time = time;
		this.productName = productName;
	}
	public PaymentBean() {
	}
	public PaymentBean(Orders order) {
		time=order.getOrderTime();
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	
	

}
